4D Chart v13CT GET HIGHLIGHT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT GET HIGHLIGHT
CT GET HIGHLIGHT
The CT GET HIGHLIGHT command returns into the first and last variables the character positions of the highlighted text in area. first is one less than the first character position highlighted and last is the last character highlighted. If first equals last, no characters are highlighted and the insertion point is between first and first +1. Since only one object can have highlighted text at a time, the scope parameter is not needed. If there is no highlighted text in area, CT GET HIGHLIGHT returns -32000 for first and last. This example returns the position of the highlighted text, and if no text is selected, it alerts the user. CT GET HIGHLIGHT(Area;$First;$Last) |
PROPERTIES
Product: 4D Chart
INDEX HISTORY
Created: 4D Chart 1 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||